// -------------------------------------------------------------------------
//    @FileName         :    HelloWorld2.h
//    @Author           :    LvSheng.Huang
//    @Date             :    2014-05-14 08:51
//    @Module           :   HelloWorld2
//
// -------------------------------------------------------------------------

#ifndef NFC_HELLO_WORLD2_H
#define NFC_HELLO_WORLD2_H

#include "NFComm/NFPluginModule/NFIPlugin.h"
#include "NFComm/NFPluginModule/NFIPluginManager.h"

//#include "Dependencies/LuaIntf/LuaIntf.h"

class NFIHelloWorld2
    : public NFIModule
{
    virtual int test(const int x, const NFDataList& y) = 0;
};

class NFCHelloWorld2
    : public NFIHelloWorld2
{
public:
    NFCHelloWorld2(NFIPluginManager* p)
    {
        pPluginManager = p;
    }

    int test(const int x, const NFDataList& y)
    {
        return 0;
    }

    virtual bool Init();
    virtual bool AfterInit();

    virtual bool Execute();

    virtual bool BeforeShut();
    virtual bool Shut();

protected:
    //LuaIntf::LuaContext l;
};

#endif
